class Common {
    // home页面主题
    public homeTheme(): number {
        // 0 经典 1 仿win10
        const num: string | null = localStorage.getItem("homeTheme");
        return num == null ? 0 : parseInt(num, 0);
    }

    public setHomeTheme(num: number = 0): void {
        localStorage.setItem("homeTheme", num.toString());
    }

}

const common: Common = new Common();
export default common;
